package com.tripleying.dogend.dnfipm.original;

import java.io.InputStream;

/**
 * InputStream来源
 * @author Dogend
 */
public class InputStreamOriginal implements NPKOriginal {
    
    private final InputStream is;
    
    public InputStreamOriginal(InputStream is){
        this.is = is;
    }

    public InputStream getOriginal() {
        return is;
    }

    @Override
    public OriginalType getType() {
        return OriginalType.INPUT_STREAM;
    }
    
}
